home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / class / memalloc.h < prev    next >
C/C++ Source or Header  |  1996-02-04  |  694b  |  45 lines

  1.  
  2. /*
  3.  *
  4.  *    Copyright (c) 1993-1996 Algorithms Corporation
  5.  *    3020 Liberty Hills Drive
  6.  *    Franklin, TN  37067
  7.  *
  8.  *    ALL RIGHTS RESERVED.
  9.  *
  10.  *
  11.  *
  12.  */
  13.  
  14.  
  15. #ifdef    __cplusplus
  16. extern "C"  {
  17. #endif
  18.  
  19. void    *MA_malloc(unsigned, void *);
  20. void    *MA_calloc(unsigned, void *);
  21. void    MA_free(void *);
  22. void    *MA_realloc(void *, unsigned);
  23. void    MA_compact(void);
  24.  
  25. #define     MTncalloc(t,n,v)  (t *) MA_calloc((n) * sizeof(t), &v)
  26. #define     MTnalloc(t,n,v)   (t *) MA_malloc((n) * sizeof(t), &v)
  27.  
  28.  
  29. #ifdef    __cplusplus
  30. }
  31. #endif
  32.  
  33. /*
  34.  *
  35.  *    Copyright (c) 1993-1996 Algorithms Corporation
  36.  *    3020 Liberty Hills Drive
  37.  *    Franklin, TN  37067
  38.  *
  39.  *    ALL RIGHTS RESERVED.
  40.  *
  41.  *
  42.  *
  43.  */
  44.  
  45.